import Main from "../../views/main.vue"

export default {
    path:'/voice',
    component: Main,
    redirect:'/voice/dormitoryWarning',
    meta:{
        title:'烟雾预警'
    },
    children:[{
        path:'/voice/dormitoryWarning',
        component: () => import('../../views/voice/dormitoryWarning.vue'),
        meta: {
            title: '宿舍预警',
            icon: 'PictureFilled'
        },
    },{
        path:'/voice/toiletWarning',
        component: () => import('../../views/voice/toiletWarning.vue'),
        meta: {
            title: '厕所预警',
            icon: 'PictureFilled'
        },
    },{
        path:'/voice/earlyWarning',
        component: () => import('../../views/voice/earlyWarning.vue'),
        meta: {
            title: '预警配置',
            icon: 'PictureFilled'
        },
    },{
        path:'/voice/equipmentManagement',
        component: () => import('../../views/voice/equipmentManagement.vue'),
        meta: {
            title: '设备管理',
            icon: 'PictureFilled'
        },
    }]
}